﻿/// <reference path="/Scripts/jquery-1.5.1-vsdoc.js" />
/// <reference path="/Scripts/jquery.validate-vsdoc.js" />
$(document).ready(function () {
    $('form').validate({
        rules: {
            Name: 'required',
            LimitedYear: 'required'
        },
        messages: {
            Name: '设备型号不能为空',
            LimitedYear: '设计年限不能为空'
        }
    });
});